package question2;

public class MyRunnable2 implements Runnable {
    @Override
    public void run() {
        for (int i = 0; i <50 ; i++) {
            String name = Thread.currentThread().getName();
            System.out.println(name+":"+i);
        }
    }
}
